Mac OS 8.5 Technote: Part XXII

Copyright 1998 by Apple Computer, Inc. All Rights Reserved.

[Previous section] [Mac OS 8.5 Contents Page] [Next section]

Inside the System File (Continued)

File System Manager

The File System Manager provides a general means by which foreign file systems can be installed, identified, and interfaced to the operating system.
  • XGetVolInfo requests (like GetVolInfo requests) to a FSM-based file system are now passed a working directory number or the default volume number (the value zero) in ioVRefNum if the File Manager caller used a working directory number or the default volume number. Under Mac OS 8.1, ioVRefNum would always contain the real volume reference number when passed to a FSM-based file system. This change lets the FSM-based file system determine what to return in ioVNmFls correctly.

  • UTTrashBlocks now correctly returns an OSErr result (either noErr, rfNumErr, or fnOpnErr). Before Mac OS 8.5, UTTrashBlocks returned the file reference number passed in as the fileRefNum parameter.

  • The File Manager's disk cache now range-checks the buffer parameter passed to UTReleaseBlock and UTMarkDirty. If the buffer parameter is bad, those calls will no longer crash the system.

    Related Materials:

[Previous section] [Mac OS 8.5 Contents Page] [Next section]

To contact us, please use the Contact Us page.